<?php use_helper('sfCombine') ?>
<?php use_helper('jQuery') ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <title>Sistema ITec</title>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_combined_stylesheets() ?>
        <?php include_combined_javascripts() ?>
        <!--[if lte IE 6]>
        <?php echo stylesheet_tag('ie6.css') ?>
        <![endif]-->
    </head>
    <body>
        <div id="header">
            <a href="<?php echo url_for('@homepage') ?>">
                <img alt="Inicio" src="/images/header_text.png" width="180" height="100">
            </a>
        </div>
        <?php
        if ($sf_user->isAuthenticated() && $sf_user->hasCredential('BACKEND')) {
            $menu = new mcBootstrapMenu($sf_user);
            echo $menu->render();
        }
        ?>
        <?php echo $sf_content ?>
    </body>
</html>
